package com.jman.register.clients;

import com.jman.register.domain.User;
import com.jman.register.dto.Result;
import com.jman.register.dto.UserWithToken;
import lombok.extern.slf4j.Slf4j;

/**
 * 代理类
 * 调用feign去获取到user对象
 */
@Slf4j
public class Agent {
    public static UserWithToken saveUser(UserClients clients, User user){
        return clients.saveUser(user);
    }
}
